package cn.org.timespace.easyframe.service.permission;

import java.util.List;

import cn.org.timespace.easyframe.action.permission.EfDictionaryModel;
import cn.org.timespace.easyframe.model.permission.EfDictionary;
import cn.org.timespace.easyframe.model.permission.EfDictionaryId;

 
public interface EfDictionaryService {
	public void save(EfDictionary transientInstance) ;

	public void delete(EfDictionary persistentInstance) ;

	public EfDictionary findById(EfDictionaryId id);
	
	public List<EfDictionary> findByCondition(EfDictionaryModel model);

	public List findByExample(EfDictionary instance) ;

	public List findByProperty(String propertyName, Object value);

	public List findByType(Object type) ;

	public List findByItemname(Object itemname) ;

	public List findByFilter(Object filter) ;

	public List findByExesql(Object exesql) ;

	public List findByRemark(Object remark) ;

	public List findAll() ;
	
	public void update(EfDictionary instance);

	public EfDictionary merge(EfDictionary detachedInstance) ;

	public void attachDirty(EfDictionary instance) ;

	public void attachClean(EfDictionary instance) ;

	public void saveWithAutoGeneratorItemValue(EfDictionary efDictionary, String groupName);
	
	/**
	 *  可供转入的餐台
	 * @return
	 */
	public List<EfDictionary> getCateringForChange();
}
